%%%%%%%%% PREAMBLE %%%%%%%%
\documentclass[11pt,a4paper]{article}

%%%%%%% packages %%%%%%%%
\usepackage{fullpage}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{fancyhdr}
\usepackage{color}
\usepackage{subfig}
\usepackage{graphicx}
\usepackage{listings}
\usepackage{longtable}
%%%%%%% own commands %%%%%%%%%
\newcommand{\seher}{\textcolor{red}}
\newcommand{\appendixsection}[1]{
	\stepcounter{section}
	\addcontentsline{toc}{section}{\numberline {\thesection}#1}
	\section*{Appendix \thesection: #1}
}
\newcommand{\N}{\mathbb{N}} 					% natural numbers N %
\newcommand{\Z}{\mathbb{Z}} 					% integers Z %
\setlength{\parindent}{0in}

%%%%%%%%% other stuff %%%%%%%%
%/usr/local/texlive/2010/texmf-dist/tex/latex/preprint/fullpage.sty
\author{Mark Gray, Anne Jul, Martin Poulsen \& Peter Berg}
\title{Search engine project report}


%\date{\today}
\date{May 25th 2011}

%%%%%%%%% DOCUMENT %%%%%%%%
\begin{document}  
\maketitle
%\pagestyle{fancy}
\tableofcontents

\lstset{language=Java, breaklines = true, identifierstyle=\ttfamily,
keywordstyle=\color[rgb]{0.700,0.100,0.500},
commentstyle=\color[rgb]{0.133,0.545,0.133},
stringstyle=\color[rgb]{0,0,1}, extendedchars=true,
basicstyle=\scriptsize,numbers=left,numberstyle=\tiny}

\newpage
%%%%%%%%%% EXAMPLES %%%%%%
%\input{../examples/examples.tex}
%\newpage
%%%%%%%%%%% FOREWORD %%%%%%%%%
\input{../foreword/foreword.tex}
%%%%%%%%%%% MVC %%%%%%%%%%%%%%
\newpage
\input{../architecture/architecture.tex}

\input{../architecture/extra_arc.tex}
%%%%%%%%%%% SEARCHERS %%%%%%%%%%%
\input{../Searchers/Searchers.tex}
\input{../Searchers/linkedlistsearcher.tex}

\input{../Searchers/NestedLinkedlistsearcher.tex}
\input{../hash/hash.tex}
%%%%%%%%%%% BOOLEAN OPERATORS %%%%%%
\input{../and_or/and_or.tex}

%%%%%%%%%%% BENCHMARK %%%%%%%%%%%%%
\input{../Benchmark/benchmark.tex}
\input{../test/test.tex}
\input{../test/black-box_test.tex}
%%%%%%%%%%% CONCLUSION %%%%%%%%%%
\newpage
\input{../conclusion/conclusion.tex}
%%%%%%%%%%% BIBLIOGRAPHY %%%%%%%%%%
\newpage
\input{../Bibliography/bibliography.tex}

%%%%%%%% APPENDIX %%%%%%%%%
\appendix
\addtocontents{toc}{\vspace{5mm}\hrule}

\appendixsection{UML Diagram: Data Structures and Searchers}
\includegraphics[scale=0.8]{../UML/UMLSearchers.pdf}

\appendixsection{UML Diagram: Views}
\includegraphics[scale=0.8]{../UML/Views.pdf}

\appendixsection{Black-box Testing of Load}\markboth{Black-box Testing of
Load}{}
\label{bb_load}
\input{../test/black-box_table3.tex}


\appendixsection{Black-box Test without Boolean Search}\markboth{Black-box Test
without Boolean Search}{}
\label{bb_without}
\input{../test/black-box_table1.tex}

\appendixsection{Black-box Test with Boolean Search}\markboth{Black-box Test
with Boolean Search}{}
\label{bb_with}
\input{../test/black-box_table2.tex}

\end{document}

